# -*- coding:utf-8 -*-

from django.shortcuts import render
from django.views.decorators.csrf import csrf_exempt
from django.conf import settings
from aircos.tools import views_tools
from django.http import HttpResponseNotFound,HttpResponseServerError

@csrf_exempt
def set_mark(request):

    data={
        "is_success": True,
    }
    print "set_mark"
    return views_tools.success_json(data)

@csrf_exempt
def add(request):

    data={
        "is_success": True,
    }
    print "add"
    return views_tools.success_json(data)

def get_detail(request):

    data = {
        "id":"123123123",
        "status_ori":"20",
        "refund_status_ori":"0"
    }

    print "get_detail"
    return views_tools.success_json(data)

